home *** CD-ROM | disk | FTP | other *** search
/ Enigma Amiga Life 112 / EnigmaAmiga112CD.iso / dalla rivista / awnpipe / awnp / awnp-docs / clicktab.doc < prev    next >
Text File  |  2000-05-17  |  2KB  |  82 lines

  1. ClickTab gadget event
  2. -------------------------
  3.  
  4. 'gadget GID selected_page'
  5.  
  6. ClickTab gadget parameters.
  7. -------------------------
  8.  
  9. This actually creates a pair of connected gadgets, a clicktab->pagegadget. Each tab labels will display a different page in the page gadget. See parent group for how
  10. to attach a page to a clicktab gadget.
  11.  
  12. font=GID
  13.  
  14. This sets the font for the gadget. The GID points to an ALREADY defined text attribute.
  15.  
  16. readonly (ro)
  17.  
  18.  This gadget is read only.
  19.  
  20. disable=number (dis=)
  21.  
  22.  The gadget is enabled if number = 0 , disabled if number != 0. Defaults to enabled.
  23.  
  24. ClickTabLabels="choice0|choice1|choice..." (ctl)
  25.  
  26.  Set the choices for the gadget. This parameter MUST be given.
  27.  
  28. minwidth=number (minw=)
  29.  
  30.  Set the minimum width for this gadget
  31.  
  32. minheight=number (minh=)
  33.  
  34.  Set the minimum height for this gadget
  35.  
  36. weightedwidth=number (weiw=)
  37.  
  38.  Set the weighted width for this gadget
  39.  
  40. weightedheight=number (weih=)
  41.  
  42.  Set the weighted height for this gadget
  43.  
  44. nominalsize (noms)
  45.  
  46.  Set this gadget to its nominal size.
  47.  
  48. replace=GID
  49.  
  50.  Use this gadget to replace an existing gadget specified by GID.
  51.  
  52. Definition Reply
  53. -----------------
  54.  
  55.  When the gadget creation is successful the pipe replies with
  56.  
  57. 'ok GID'
  58.  
  59. ClickTab gadget modify parameters.
  60. -------------------------
  61.  
  62. disable=number (dis=)
  63.  
  64.  The gadget is enabled if number = 0 , disabled if number != 0.
  65.  
  66. NOTE: when you disable a layout, Clicktab gadgets in the layout do not
  67. properly disable themselves (CA/Reaction bug?). You must manualy disable the
  68. clicktabs your self.
  69.  
  70. target=number  (tar=)
  71.  
  72.  When used with disable only the targeted tab is enabled or disabled. If
  73. target is not specified all tabs will be disabled or enabled.
  74.  
  75. selected=number  (s=)
  76.  
  77.  Set the page displayed by the clicktab gadget.
  78.  
  79. refresh (ref)
  80.  
  81.  Redraw the gadget.
  82.